﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%--<div>
<img src="../../Content/gif-png-jpg-header.gif" />scdsadasasdd
</div>--%>
<div class="WebHRMain" style="width: 90%;">
    <div id="divContainerMain">
        <div align="center" class="WebHR_Heading1">
            <%=Html.Label("Ngày Nghỉ") %>
        </div>
        <div style="clear: both;">
        </div>
        <form id="formLogin" method="post" action="/Home/EditingPopup_Create">
        <!-- Nhóm lớp gốc -->
        <fieldset style="float: left;">
            <legend>
                <%=Html.Label("Thông tin cơ bản")%>
            </legend>
            <!-- noi dung -->
            <div id="dvleaveDayType">
                <div class="FieldTitle">
                    <%=Html.Label("Loại ngày nghỉ")%>
                </div>
                <div class="FieldValue">
                    <%= Html.Kendo().ComboBox()
          .Name("leaveDayType")
          .Filter("contains")
          .Placeholder("Chọn loại ngày nghỉ...")
          .DataTextField("Text")
          .DataValueField("Value")
          .BindTo(new List<SelectListItem>() {
              new SelectListItem() {
                Text = "Nghỉ không phép", Value = "1"   
              },
              new SelectListItem() {
                Text = "Nghỉ tang", Value = "2"   
              },
              new SelectListItem() {
                Text = "Nghỉ đám cưới", Value = "3"   
              },
              new SelectListItem() {
                Text = "Nghỉ đột suất", Value = "4"   
              }
          })
          .SelectedIndex(3)
          .Suggest(true)
                    %>
                </div>
                <div style="clear: both;">
                </div>
            </div>
            <div id="dvDateFrom">
                <div class="FieldTitle">
                    <%=Html.Label("Ngày bắt đầu")%>
                </div>
                <div class="FieldValue">
                    <%= Html.Kendo().DatePicker()
                      .Name("dateFrom")
                      .Start(CalendarView.Year)
                      .Depth(CalendarView.Year)
                      .Format("MMMM yyyy")
                      .Value("November 2011")
                      .HtmlAttributes(new { style = "width:150px" })
                    %>
                </div>
                <div style="clear: both;">
                </div>
            </div>
            <div id="dvDateTo">
                <div class="FieldTitle">
                    <%=Html.Label("Ngày kết thúc")%>
                </div>
                <div class="FieldValue">
                    <%= Html.Kendo().DatePicker()
                       .Name("dateTo")
                      .Start(CalendarView.Year)
                      .Depth(CalendarView.Year)
                      .Format("MMMM yyyy")
                      .Value("November 2011")
                      .HtmlAttributes(new { style = "width:150px" })
                    %>
                </div>
                <div style="clear: both;">
                </div>
            </div>
            <div id="dvProductID">
                <div class="FieldTitle">
                    <%=Html.Label("ProductID")%>
                </div>
                <div class="FieldValue">
                    <%=Html.TextBox("ProductID")%>
                </div>
                <div style="clear: both;">
                </div>
            </div>
            <div id="dvProductName">
                <div class="FieldTitle">
                    <%=Html.Label("ProductName")%>
                </div>
                <div class="FieldValue">
                    <%=Html.TextBox("ProductName")%>
                </div>
                <div style="clear: both;">
                </div>
            </div>
            <div id="dvUnitPrice">
                <div class="FieldTitle">
                    <%=Html.Label("UnitPrice") %>
                </div>
                <div class="FieldValue">
                    <%=Html.TextBox("UnitPrice")%>
                </div>
                <div style="clear: both;">
                </div>
            </div>
            <div id="dvUnitsInStock">
                <div class="FieldTitle">
                    <%=Html.Label("UnitsInStock")%>
                </div>
                <div class="FieldValue">
                    <%=Html.TextBox("UnitsInStock")%>
                </div>
                <div style="clear: both;">
                </div>
            </div>
           
            <div id="dvNotes">
                <div class="FieldTitle">
                    <%=Html.Label("Ghi chú")%>
                </div>
                <div class="FieldValue">
                    <%=Html.TextArea("Notes") %>
                </div>
                <div style="clear: both;">
                </div>
            </div>
         
            <div id="dvApproveFirst">
                <div class="FieldTitle">
                    <%=Html.Label("Người duyệt đầu")%>
                </div>
                <div class="FieldValue">
                    <%= Html.Kendo().ComboBox()
          .Name("ApproveFirst")
          .Filter("contains")
          .Placeholder("Chọn người duyệt đầu...")
          .DataTextField("Text")
          .DataValueField("Value")
          .BindTo(new List<SelectListItem>() {
              new SelectListItem() {
                Text = "Tạ Xuân Tú", Value = "1"   
              },
              new SelectListItem() {
                Text = "Trần Thế Vĩnh", Value = "2"   
              },
              new SelectListItem() {
                Text = "Lê Xuân Thuyên", Value = "3"   
              },
              new SelectListItem() {
                Text = "Phạm Văn Hiển", Value = "4"   
              }
          })
          .SelectedIndex(3)
          .Suggest(true)
                    %>
                </div>
                <div style="clear: both;">
                </div>
            </div>

            <div id="dvApproveLast">
                <div class="FieldTitle">
                    <%=Html.Label("Người duyệt cuối")%>
                </div>
                <div class="FieldValue">
                    <%= Html.Kendo().ComboBox()
          .Name("ApproveLast")
          .Filter("contains")
          .Placeholder("Chọn người duyệt cuối...")
          .DataTextField("Text")
          .DataValueField("Value")
          .BindTo(new List<SelectListItem>() {
              new SelectListItem() {
                Text = "Tạ Xuân Tú", Value = "1"   
              },
              new SelectListItem() {
                Text = "Trần Thế Vĩnh", Value = "2"   
              },
              new SelectListItem() {
                Text = "Lê Xuân Thuyên", Value = "3"   
              },
              new SelectListItem() {
                Text = "Phạm Văn Hiển", Value = "4"   
              }
          })
          .SelectedIndex(3)
          .Suggest(true)
                    %>
                </div>
                <div style="clear: both;">
                </div>
            </div>

            <div id="dvSave">
                <div class="FieldTitle">
                </div>
                <div class="FieldValue">
                    <input type="submit" value="Lưu" />
                </div>
                <div style="clear: both;">
                </div>
            </div>
        </fieldset>
        </form>
    </div>
</div>
